//
//  DetailTaoBaoFooterView.swift
//  甜言蜜语
//
//  Created by yingli_yanfa_liuxingyu on 16/9/8.
//  Copyright © 2016年 wl. All rights reserved.
//

import UIKit
protocol DetailTaoBaoFooterViewDelegate {
    func taobaoBtnSelected(sender: UIButton)
    func taobaoCollectionSelected(sedner: UIButton)
    func taobaoReplySelected(sedner: UIButton)
    func taobaoTransferSelected(sender: UIButton)
}
class DetailTaoBaoFooterView: UIView {
    var delegate:DetailTaoBaoFooterViewDelegate?
    @IBOutlet weak var taobaoBtn: UIButton!
    @IBOutlet weak var collectionBtn: UIButton!
    @IBOutlet weak var textfield: UITextField!
    @IBAction func taobaoBtnClicked(sender: UIButton){
        delegate?.taobaoBtnSelected(sender)
    }
    
    @IBAction func collectionBtnClicked(sender: UIButton){
        delegate?.taobaoCollectionSelected(sender)
    }
    
    @IBAction func replyBtnClicked(sender: UIButton){
        delegate?.taobaoReplySelected(sender)
    }
    
    @IBAction func transferBtnCliked(sender: UIButton){
        delegate?.taobaoTransferSelected(sender)
    }
    

}
